package com.mobi.Survey.lib.model;


public class SurveyResult 
{
	private long surveyId;
	private byte controlType;
	private long subscriptionId;
	private String deviceNumber;
	private String userValue;
	private int seqNum;

	public SurveyResult()
	{

	}

	public SurveyResult(long surveyId, byte controlType, long subscriptionId, String deviceNumber, String userValue, int seqNum)
	{
		this.surveyId = surveyId;
		this.controlType = controlType;
		this.subscriptionId = subscriptionId;
		this.deviceNumber = deviceNumber;
		this.userValue = userValue;
		this.seqNum = seqNum;
	}

	public long getSurveyId()
	{
		return surveyId;
	}

	public byte getControlType()
	{
		return controlType;
	}

	public long getSubscriptionId()
	{
		return subscriptionId;
	}

	public void setSurveyId(long surveyId)
	{
		this.surveyId = surveyId;
	}


	public String getUserValue()
	{
		if (userValue == null)
			return "";
		return userValue;
	}

	public void setUserValue(String userValue) {
		this.userValue = userValue;
	}
	
	public String getDeviceNumber() {
		return deviceNumber;
	}

	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}
    public int getSeqNum() {
		return seqNum;
	}

	public void setSeqNum(int seqNum) {
		this.seqNum = seqNum;
	}

	
}
